<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%  
String path = request.getContextPath();  
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";  
%>  
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html style="height: 100%;background: #E5E9EC;">
<head>
<base href="<%=basePath%>"> 
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
<%@ include file="/general.jsp"%>
<link href="css/custom.css" rel="stylesheet">
</head>
<body scroll="no">
	<table>
		<body class="main-theme fixed">
			<!-- 头部 -->
			<header class="header" id="head">
				<nav class="navbar navbar-static-top" role="navigation">
					<div class="logo">
						&nbsp;&nbsp;冠东微盘积分商城
					</div>
					<div class="image-avatar image">
						<img src="http://api.randomuser.me/portraits/thumb/men/22.jpg" class="img-circle" alt="User Image" /> 
						<span>
							<i class="fa fa-circle text-success"></i>
						</span>
					</div>
					<ul class="profile-list1">
						<li><a href="#" data-toggle="tooltip" data-placement="top" title="个人资料"> 个人资料 </a></li>
						<li><a href="#" data-toggle="tooltip" data-placement="top" title="设置"> 设置 </a></li>
						<li><a href="#" data-toggle="tooltip" data-placement="top" title="退出"> 退出 </a></li>
					</ul>
				</nav> 
			</header>
			<div class="wrapper row-offcanvas row-offcanvas-left">
				<aside class="hidden-xs leftmenu sidebar-offcanvas" id="left_id" style="top: 70px;">
					<nav>
						<ul id="menu">
							<li>
								<div class="menu-abs-bg background-color"></div>
								<div class="credits-icon menu-specs">
									<a href="#credits" title="credits Page">积分规则管理</a>
								</div>
							</li>
							<li>
								<div class="menu-abs-bg background-color"></div>
								<div class="transaction-icon menu-specs">
									<a href="#transaction" title="" class="user4" onclick="shi4()">交易信息管理</a>
								</div>
							</li>
							<li>
								<div class="menu-abs-bg background-color"></div>
								<div class="users-icon menu-specs">
									<a href="#users" title="users Page">客户管理</a>
								</div>
							</li>
							<li>
								<div class="menu-abs-bg background-color"></div>
								<div class="product-icon menu-specs">
									<a href="#product" title="product Page">商品管理</a>
								</div>
							</li>
							<li>
								<div class="menu-abs-bg background-color"></div>
								<div class="member-icon menu-specs">
									<a href="#member" title="member Page">会员管理</a>
								</div>
							</li>
							<li>
								<div class="menu-abs-bg background-color"></div>
								<div class="convert-icon menu-specs">
									<a href="#convert" title="" class="user15" onclick="shi15()">兑换规则管理</a>
								</div>
							</li>
							<li>
								<div class="menu-abs-bg background-color"></div>
								<div class="convert-icon menu-specs">
									<a href="#order" title="" class="user13" onclick="shi13()">兑换订单管理</a>
								</div>
							</li>
						</ul>
					</nav> 
				</aside>
				<div id="subLevel" class="border-color background-color" style="height: 95% !important; z-index: 9; position: fixed; top: 70px;">
					<div id="opener" class="border-left-color border-top-color">
						<div class="opener-plus"></div>
					</div>
					<ul id="credits" class="sub_yc">
						<li><a class="border-color-darker user1" id="if" href="#" onclick="shi1()">积分规则分类管理</a></li>
						<li><a class="border-color-darker user2" href="#" onclick="shi2()">积分规则管理</a></li>
						<li><a class="border-color-darker user3" href="#" onclick="shi3()">积分行为管理</a></li>
					</ul>
					<ul id="transaction" class="sub_yc">
						<!-- <li><a class="border-color-darker user4" href="#">积分行为管理</a></li> -->
					</ul>
					<ul id="users" class="sub_yc">
						<li><a class="border-color-darker user5" href="#" onclick="shi5()">客户基本信息</a></li>
						<li><a class="border-color-darker user6" href="#" onclick="shi6()">客户登录信息</a></li>
						<li><a class="border-color-darker user7" href="#" onclick="shi7()">客户签到信息</a></li>
						<li><a class="border-color-darker user8" href="#" onclick="shi8()">客户任务记录</a></li>
						<li><a class="border-color-darker user9" href="#" onclick="shi9()">收货人信息</a></li>
					</ul>
					<ul id="product" class="sub_yc">
						<li><a class="border-color-darker user10" href="#" onclick="shi10()">商品基本信息</a></li>
						<li><a class="border-color-darker user11" href="#" onclick="shi11()">商品出入信息</a></li>
						<li><a class="border-color-darker user12" href="#" onclick="shi12()">商品分类信息</a></li>
					</ul>
					<ul id="member" class="sub_yc">
						<li><a class="border-color-darker user14" href="#" onclick="shi14()">会员基本信息</a></li>
					</ul>
					<ul id="convert" class="sub_yc">
					</ul>
					<ul id="order" class="sub_yc">
					</ul>
				</div>
				<ol class="breadcrumb newcrumb" style="border-radius: 0px; width: 100%; background-color: rgb(243, 244, 245); padding: 0px 10px; display: none; position: fixed; left: 220px; top: 70px;">
			        <li style="padding: 5px 0px;">
			            <a href="#"><span><i class="fa fontello-home-outline" style="margin: 3px 0 0 -2px;"></i></span>平台系统</a>
			        </li>
			        <li style="padding: 5px 0px;">
			            <a href="#" class="newcrumb_a"></a>
			        </li>
			    </ol>
				<aside class="right-side" style="overflow:scroll;overflow-x:hidden; overflow-y:hidden;">
					<div class="row" id="row_id" style="background-color: rgb(243, 244, 245); z-index: 999;">
						<iframe frameborder="0" class="credits" width="100%;" scrolling="no" id="iframe1" style="/*height: 900px;*/background: #E5E9EC; overflow-y: auto;">
							
						</iframe>
					</div>
				</aside>
			</div>
			<footer id="footer" style="bottom: 0px; text-align: center;">
				Copyright &copy; 2015 XHZB Company. All Rights Reserved. 
			</footer>
		</body>
	</table>
	<div id="pwin"></div>
	<div id="bg" style="position: fixed;top: 0;left: 0;width: 100%;height: 100%;background: #000;z-index: 2000;opacity: 0.5;display: none;"></div>
</body>
</html>
<script>
//自动获取高度
//function a(){
	var left_h = document.getElementById("left_id").offsetHeight;
	//alert(left_h);
	//var row_h = document.body.clientWidth;
	//var row_h1 = row_h - 200;
	$(".credits").css("height",left_h);
	//alert(row_h1);
//}
// 全选按钮
	$(function() {
		$("#checkall").click(function() {
			$("input[@name='checkname[]']").each(function() {
				$(this).attr("checked", true);
			});
		});
		$("#delcheckall").click(function() {
			$("input[@name='checkname[]']").each(function() {
				$(this).attr("checked", false);
			});
		});
	});
	// 提示框
	$(function() {
		$("[data-toggle='tooltip']").tooltip();
	});
</script>
<!--selectlist-->

<!-- dateck -->
<script>
	// 点击头像出现的弹窗框
	$(".image-avatar").click(function() {
		if ($(".profile-list1").css("display") == "none") {
			$(".profile-list1").show();
		} else {
			$(".profile-list1").hide();
		}
	});	
</script>
<!-- 点击导航子导航显示 -->
<script src="js/iframe.js"></script>